home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / cluster.zip / CLUSTER.TXT < prev    next >
Text File  |  1996-08-08  |  2KB  |  55 lines

  1. INSTALLATION:
  2.     copy all original quakec files to directory CLUSTER
  3.     unzip distribution files, run qccdos
  4.  
  5.     OR:
  6.     
  7.     use the progs.dat supplied
  8.         
  9. Changed the Impulse to a constant and moved the default from 25 to 70
  10. (70 has a bunch of free ones near it)
  11.  
  12.     Use cluster launcher like grenade launcher, choose it and hit +attack
  13.     
  14. OK, this is gonna take explaining. At the risk of making combining of weapon
  15. patches possibly EXTREMELY troublesome, I screwed around a bit with the 
  16. stuff in WEAPONS.QC and ITEMS.QC.
  17.  
  18. cluster.qc has the main bouncer code
  19. cluster.qc needs to be before ITEMS.QC and WEAPONS.QC
  20.  
  21. ex:
  22. progs.src:
  23. ..\progs.dat
  24.  
  25. defs.qc
  26. ...
  27. cluster.qc
  28. ...
  29. items.qc
  30. weapons.qc
  31. ...
  32. EOF
  33.  
  34. For the internal changes, i added two entity fields, .weapons1 and .ef
  35. these are to get around the fact that Quake only had 23 useable bits 
  36. in .items, and all but 2 were used. unfortunately, i wanted 3 or more
  37. new weapons. therefore the changes.
  38.  
  39. .ef only has one recognized value right now: EXTRA_1. This tells 
  40. W_Attack to use the alternate weapon. Boolean fields for them are in
  41. .weapons1. 
  42. ergo: 
  43.     for the shotgun: .weapon=IT_SHOTGUN;ef=0;
  44.     for the Cluster Bombs: .weapon=WP_CLUSTER;ef=EXTRA_1;
  45.  
  46. if all bits of .weapons1 get used, just add .weapons2 and EXTRA_2=2.
  47. then add to the relavent portions of items.qc and weapons.qc.
  48. this allows ALL weapons to act the same to the user, hit the button to
  49. choose, hit fire to shoot; as well as allowing for unlimited weapons.
  50. right now, 3 bits are used in .weapons1: 
  51.     WP_CLUSTER = 1;
  52.     WP_BOUNCER = 2;
  53.     WP_FRAGROCK = 4;
  54. i ought to be using more soon.
  55.